package hoowin.basic.dao;

import java.util.List;

import hoowin.basic.model.Account;

public interface IAccountDao {
	public Account getAccountById(int id);
	public Account getAccountByEmail(String email);
	public Account getAccountByPhone(String phone);
	public int getInvitorByCode(String code);
	public boolean saveInvitation(String code, int invitorId);
	public boolean deleteInvitation(String code);
	public int addAccount(Account account);
	public List<String> getRemainEmails();
}